package dryven.sapi.servlet_v25;

import java.util.Calendar;

import dryven.request.http.Cookie;

public class ServletCookie implements Cookie {

	private javax.servlet.http.Cookie cookie;
	
	public ServletCookie(javax.servlet.http.Cookie cookie) {
		super();
		this.cookie = cookie;
	}

	@Override
	public String getComment() {
		return cookie.getComment();
	}

	@Override
	public String getDomain() {
		return cookie.getDomain();
	}

	@Override
	public int getMaxAge() {
		return cookie.getMaxAge();
	}

	@Override
	public String getName() {
		return cookie.getName();
	}

	@Override
	public String getPath() {
		return cookie.getPath();
	}

	@Override
	public String getValue() {
		return cookie.getValue();
	}

	@Override
	public int getVersion() {
		return cookie.getVersion();
	}

	@Override
	public boolean isSecure() {
		return cookie.getSecure();
	}

}
